﻿using System;

namespace DreamCube.Framework.Utilities.Authorization
{
    /// <summary>
    /// 授权验证结果
    /// </summary>
    public class AuthorizeResult
    {
        /// <summary>
        /// 结果描述
        /// </summary>
        public String Description
        {
            get;
            internal set;
        }

        /// <summary>
        /// 是否验证通过
        /// </summary>
        public Boolean IsPass
        {
            get;
            internal set;
        }

        public AuthorizeResult(Boolean isPass, String des)
        {
            this.IsPass = isPass;
            this.Description = des;
        }
    }
}
